// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';

/** getCaptcha GET /user/verify/captcha */
export async function getCaptchaUsingGet(options?: { [key: string]: any }) {
  return request<any>('/user/verify/captcha', {
    method: 'GET',
    ...(options || {}),
  });
}

/** sendEmailCode GET /user/verify/send_email */
export async function sendEmailCodeUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.sendEmailCodeUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.BaseResponseBoolean_>('/user/verify/send_email', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
